Skip to content

Use Fleet-provided tooling for llama upgrade preparation - #174

Merged
i386 merged 1 commit into
mainfrom
fix/llama-upgrade-system-gh
Nov 22, 2026
Merged

i386 merged 1 commit into
mainfrom
fix/llama-upgrade-system-gh

Conversation

@i386

@i386 i386 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Original problem

The upgrade now schedules on ARM64, but candidate preparation fails before source selection because the workflow unconditionally installs an amd64 GitHub CLI. Use the GitHub CLI already supplied by the Fleet-managed JY environment, alongside Goose and LLVM 22.

Follow-up to #169 and #173; tracks #12. Failed candidate job.

Diagnostics

The job acquired ARM64 runner jy-agt_250dj8vxn63bt4x-linux, then failed in Install pinned GitHub CLI:

gh_2.105.0_linux_amd64.tar.gz: OK
scripts/install-gh.sh: line 16: .../skippy-gh/gh: cannot execute binary file: Exec format error

The checksum was valid for the wrong architecture. The installer hardcoded linux_amd64 and had no other callers.

A live JY configuration read also showed that the pool used linux_image: mesh, linux_profile: actions-runner. The Fleet baseline checker explicitly requires gh, Goose and LLVM/Clang 22. The MeshLLM image definition does not include GitHub CLI or Goose.

JY's Linux runner label implementation supplies standard container labels for Fleet. Custom pool labels are carried by Actions images, so requiring native-contracts on the Fleet container would recreate a scheduling block.

Fix

  • Run gh --version in candidate and repair, then use the supplied executable on PATH. Delete the unused download installer.
  • Keep the existing JY group and select [self-hosted, jy-linux-docker, Linux], which matches Fleet containers on x64 and ARM64.
  • Retain Goose/native-tool checks, source pinning, bounded repair and existing full CI.
  • Extend the existing workflow regression to accept Fleet's actual label sets and reject reinstating the GitHub CLI replacement installer.

Applied operator configuration: JY pool rnr_vfnz8k5p4yrh334 (Skippy · Native Contracts Linux, GitHub group 12) now has linux_image: fleet and linux_profile: fleet. The API update succeeded and a fresh read verified it. Repository Mesh-LLM/skippy, allowed workflows, labels, hardware filters, networks, maximum five machines, GPU setting and runner group were preserved. No active job owned the pool when it was changed. This operator configuration is separate from the repository diff.

Architecture

flowchart TD
    Pool["Existing JY Linux pool<br/>Fleet-managed container on x64 or ARM64"] --> Candidate["Candidate: use installed gh<br/>Resolve source and check Goose/native tools"]
    Candidate --> Prepare["Replay queues and regenerate<br/>Bounded Goose repair if needed"]
    Prepare --> CI["Existing full CI on frozen candidate"]
    CI -->|Failure| Repair["Same Fleet JY pool<br/>Installed gh and bounded Goose repair"]
    Repair --> ReCI["Fresh full CI"]
    CI -->|Success| Publish["Protected publisher opens upgrade PR"]
    ReCI -->|Success| Publish
Loading

Compatibility

GitHub CLI's version now belongs to the managed image baseline. The workflow reports it before source selection and fails if the supplied executable is missing or unusable. It performs no GitHub CLI replacement download. No llama pin, patch queue, API, ABI, wire format, model policy or publication behavior changes.

The failed run remains pinned to its original workflow. A fresh dispatch from main after landing is required. Automatic scheduling remains disabled pending complete acceptance pilots.

Validation

Passed locally:

SKIPPY_PYTHON="$PWD/target/upgrade-repro/automation-venv/bin/python" just ci-automation
actionlint .github/workflows/llama-upgrade.yml
git diff --check

80 Python tests, 58 workflow/controller tests and the shell report contracts passed. The existing virtual environment uses pinned repository reporting dependencies. Read the failed job and the Fleet, MeshLLM and JY source contracts; verified the live JY configuration before and after its update.

Actual execution in the newly selected Fleet environment, Goose repair, model/hardware qualification and a complete upgrade pilot remain unverified. No native runtime code changed, so native builds and Rust tests were not repeated.

Acceptance criteria

  • I ran the relevant local checks, or explained why they do not apply.
  • I agree to license my contributions under the Apache License, Version 2.0.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 47 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e1b76b30-9fb2-4a8a-a9fa-8ba8e685fa88
Commits

Reviewing files that changed from the base of the PR and between 95037f5 and e67dd2b.

Files selected for processing: 6

  • .agents/skills/manage-ci/SKILL.md
  • .github/actionlint.yaml
  • .github/scripts/llama-upgrade.test.cjs
  • .github/workflows/llama-upgrade.yml
  • ci/README.md
  • scripts/install-gh.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@i386
i386 merged commit 5008074 into main Nov 22, 2026
26 of 27 checks passed
@i386
i386 deleted the fix/llama-upgrade-system-gh branch November 22, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant